package edu.ccut.saturn.operation.database;

import java.sql.Connection;

public class UpdateBySQL   {
	private static edu.ccut.saturn.basecomponent.database.facade.UpdateBySQL facade = null;
	private static UpdateBySQL instance  = new UpdateBySQL();
    private UpdateBySQL(){
    	facade = new edu.ccut.saturn.basecomponent.database.facade.UpdateBySQL();
    };
    public static UpdateBySQL getInstance(){
    	return instance;
    }
	public int execute(String sql ,Connection conn) throws Exception {
		return facade.execute(sql, conn);
	}

}
